package com.escope.casemanager.dao;

import com.escope.casemanager.model.CaseShare;
import org.springframework.data.jpa.repository.support.JpaRepositoryImplementation;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Administrator
 * 2024/3/15
 */
@Repository
public interface CaseShareDao extends JpaRepositoryImplementation<CaseShare, Long> {
    List<CaseShare> findByExamIdAndBdelete(Long  examId,String bdelete);
    CaseShare findByToken(String token);
}
